#!/bin/bash

git -C "$(brew --repo)" remote set-url origin https://gitee.com/brew-cn/brew.git
git -C "$(brew --repo homebrew/core)" remote set-url origin https://gitee.com/brew-cn/homebrew-core.git